package com.gaff.emp.data;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.UUID;

public class Data {

    public static JSONObject[] arr ;
    public static List<Object> list ;

//    public static HashMap<String,Object>[] arr2 ;

    static{
        arr = new JSONObject[100];
//        arr2 = new HashMap[1000];
//        for(int i=0;i<arr.length;i++){
//
//        }

        JSONObject obj = new JSONObject();
        obj.put("id", UUID.randomUUID().toString());
        obj.put("name","zs");
        arr[0] = obj;

        obj = new JSONObject();
        obj.put("id", UUID.randomUUID().toString());
        obj.put("name","zs");
        arr[1] = obj;



        //fwtype  0 挂号  1 检查  2 住院  3 开药
        list = new ArrayList<>();
        obj = new JSONObject();
        obj.put("id", UUID.randomUUID().toString());
        obj.put("sj","2021-10-22");
        obj.put("fwtype",0);
        obj.put("yljgmc","长沙东协盛医院");
        obj.put("ksmc","内科");
        obj.put("jgmc",null);
        list.add(obj);

    }

}
